﻿ const get@{config.Name}List = async () => {
    const { Items } = await get@{config.Name}All();
    set@{config.Name}List(Items.map((r: any) => {
      return {
        value: r.@{config.ValueProperty},
        label: r.@{config.LabelProperty}
      }
    }));
  }